The king told Gulliver that their enemies would soon attack and asked for Gulliver's help. Of course, Gulliver agreed to help.